<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>ECharts</title>
    <!-- 引入 echarts.js -->
    <script src="../echarts.min.js"></script>
    <script src="./js/neimenggu.js"></script>
</head>
<body>
<!-- 为ECharts准备一个具备大小（宽高）的Dom -->
<div id="main" style="width: 900px;height:600px;"></div>
<script type="text/javascript">
    // 基于准备好的dom，初始化echarts实例
    var myChart = echarts.init(document.getElementById('main'));
    var uploadedDataURL = "./json/china.json";
    option = {
        series: [
            {
                name: '中国',
                type: 'map',
                mapType: 'neimenggu',
            }
        ]
    };
    myChart.setOption(option)
</script>
</body>
</html>